package com.rt.cloud.auth.facade;

import com.rt.easyjava.common.base.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(contextId = "UserApi", name = "scm-epcodeless-core")
public interface UserApi {


    /**
     * 验证密码，登录失败次数，最后登录时间记录等等
     * @param loginname
     * @param passwordInput
     * @param passwordUser
     * @return
     */
    @PostMapping(value="/core/coding/tmptAuthUser/validatePassword")
    Result validatePassword(@PathVariable("loginname") String loginname, @PathVariable("passwordInput") String passwordInput, @PathVariable("passwordUser") String passwordUser, @PathVariable("loginTimes") String loginTimes);


}
